翻訳と辞書
Words near each other
・ total function
・ total ordering
・ totally ordered
・ totally ordered set
・ toto
・ touch screen
・ touchpad
・ tourist
・ tourist information
・ tower technology corporation
towers of hanoi
・ toy
・ toy language
・ toy problem
・ toy program
・ toy/ada
・ toyohashi university parallel lisp environment
・ tp
・ tp/ix
・ tpa


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

towers of hanoi : FOLDOC
Towers of Hanoi
A classic computer science problem, invented by Edouard Lucas in 1883, often used as an example of recursion.
"In the great temple at Benares, says he, beneath the dome which marks the centre of the world, rests a brass plate in which are fixed three diamond needles, each a cubit high and as thick as the body of a bee. On one of these needles, at the creation, God placed sixty-four discs of pure gold, the largest disc resting on the brass plate, and the others getting smaller and smaller up to the top one. This is the Tower of Bramah. Day and night unceasingly the priests transfer the discs from one diamond needle to another according to the fixed and immutable laws of Bramah, which require that the priest on duty must not move more than one disc at a time and that he must place this disc on a needle so that there is no smaller disc below it. When the sixty-four discs shall have been thus transferred from the needle on which at the creation God placed them to one of the othe


スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.